<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<table border="1">
<tr><th>Date</th><th>Period</th><th>Time</th><th>Status</th></tr>
<c:forEach items="${students}" var="student"> 

<tr><td>${student.date}</td><td>${student.classHours.classHourId}</td> <td>${student.classHours.startTime} - ${student.classHours.endTime } </td><td>${student.status }</td></tr>
</c:forEach>
</table>